import request from '@/utils/request'

// 查询周模式设置列表
export function listSettingufox(query) {
  return request({
    url: '/system/settingufox/list',
    method: 'get',
    params: query
  })
}

// 查询周模式设置详细
export function getSettingufox(settingId) {
  return request({
    url: '/system/settingufox/' + settingId,
    method: 'get'
  })
}

// 新增周模式设置
export function addSettingufox(data) {
  return request({
    url: '/system/settingufox',
    method: 'post',
    data: data
  })
}

// 修改周模式设置
export function updateSettingufox(data) {
  return request({
    url: '/system/settingufox',
    method: 'put',
    data: data
  })
}

// 删除周模式设置
export function delSettingufox(settingId) {
  return request({
    url: '/system/settingufox/' + settingId,
    method: 'delete'
  })
}
